home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
DJSRC106.ARJ
/
DIFF.DIF
< prev
next >
Wrap
Text File
|
1991-03-24
|
1KB
|
75 lines
diff +context=2 orig/getopt.c ./getopt.c
*** orig/getopt.c Thu Nov 29 16:21:40 1990
--- ./getopt.c Sun Mar 24 13:17:14 1991
***************
*** 70,74 ****
--- 70,78 ----
char *getenv ();
+ #ifdef GNUDOS
+ void *malloc();
+ #else
char *malloc ();
+ #endif
#endif
diff +context=2 orig/makefile ./makefile
*** orig/makefile Sun Jan 6 19:02:56 1991
--- ./makefile Sun Mar 24 13:22:20 1991
***************
*** 22,26 ****
# Also, gcc supports -O and -g together.
CC=gcc -O
! CFLAGS = -g
INSTALL = install
--- 22,26 ----
# Also, gcc supports -O and -g together.
CC=gcc -O
! CFLAGS = -O -DGNUDOS
INSTALL = install
***************
*** 68,72 ****
$(archpfx)diff: $(objs)
! $(CC) -o $(archpfx)diff $(CFLAGS) $(LDFLAGS) $(objs) $(LIBS)
$(objs): diff.h
--- 68,73 ----
$(archpfx)diff: $(objs)
! @>diff.rf $(CFLAGS) $(LDFLAGS) $(objs) $(LIBS)
! $(CC) -o $(archpfx)diff @diff.rf
$(objs): diff.h
diff +context=2 orig/util.c ./util.c
*** orig/util.c Sun Jan 6 18:14:14 1991
--- ./util.c Sun Mar 24 13:16:52 1991
***************
*** 130,133 ****
--- 130,134 ----
strcat (name, name1);
+ #ifndef GNUDOS
if (paginate_flag)
{
***************
*** 165,168 ****
--- 166,170 ----
}
else
+ #endif
{
***************
*** 189,193 ****
--- 191,197 ----
{
fclose (outfile);
+ #ifndef GNUDOS
wait (0);
+ #endif
}
}